package com.jhh.pay.center.dao;

import com.jhh.pay.center.cfg.tablesplit.TableSplit;
import com.jhh.pay.center.model.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author tangxd
 * @Description: TODO
 * @date 2017/12/4
 */
@Mapper
@TableSplit(value = "orders", strategy = "season")
public interface OrderMapper {
    long insert(Order order);

    Order get(String id);

    long update(Order order);
}
